<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加新闻类别</title>
</head>
<body>
	添加内容：
	<s:form action="newsType_add">

    		<s:textfield name="newsType.name" label="类别名"/>
    		
    		<s:select name="newsType.parentNewsType.id" list="newsTypes" listKey="id" listValue="name"  headerKey="" headerValue="选择父类"  label="所属父类"/>
    		
    		<s:textfield name="newsType.serial_number" label="排序数字" />
    		
    		<s:submit/>
		</s:form>
		
</body>
</html>